/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.faesa.acervo.business.ejb;

import br.faesa.acervo.exception.CreateReservaException;
import br.faesa.acervo.exception.PeriodoInvalidoException;
import java.util.Date;
import javax.ejb.Remote;

/**
 *
 * @author Eric Rosetti Lessa
 */
@Remote
public interface ReservaServiceRemote {
    
    public void validarPeriodoReserva() throws PeriodoInvalidoException;
    
    public void salvar() throws CreateReservaException;
    
    public Long getIdLivro();

    public void setIdLivro(Long idLivro);

    public Long getMatricula();

    public void setMatricula(Long matricula);

    public Date getDtEmprestimo();

    public void setDtEmprestimo(Date dtEmprestimo);

    public Date getDtDevolucao();

    public void setDtDevolucao(Date dtDevolucao);

}
